#include "deluser.h"

delUser::delUser(QWidget *parent, QList<QString> &list)
	: QDialog(parent)
{
	ui.setupUi(this);

	for (int i=0; i<list.count(); i++)
	{
		ui.username->addItem(list[i]);
	}

	connect(ui.delButton,		SIGNAL(clicked()),		this,	SLOT(accept()));
	connect(ui.exitButton,		SIGNAL(clicked()),		this,	SLOT(close()));
}

delUser::~delUser()
{

}
